﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Server_CongTyVanChuyen
{
    public class DonHangDAO
    {
        public static int CapNhatVanChuyenDonHang(DonHangDTO dh)
        {
            try
            {
                string sql = "update donhang set TrangThai = 1 where MaDH = "+dh.MaDH;
                return Dataprovider.ExcuteNonQuery(sql);
            }
            catch
            {
                return 0;
            }
        }
    }
}